<template>
  <div class="actor-manage">
    <div class="actor-manage-mark">
      <!-- <div class="manage-group">
        <my-select ph="全部客服组" width="160"></my-select>
    </div> -->

      <div class="actor-manage-message">
        <my-search ph="请输入角色名称" width="276"></my-search>
      </div>

      <div class="actor-manage-kefu">
        <div class="actor-manage-kefu1">
          <my-button :color="true">添加角色</my-button>
        </div>

        <div class="actor-manage-kefu2">
          <my-button>批量删除</my-button>
        </div>

        <div class="actor-manage-kefu3">
          <my-button>导出当前数据</my-button>
        </div>
      </div>
    </div>

    <div class="actor-manage-table">
      <base-table
        :mytitle="title"
        :mydata="mydata"
        checkbox="true"
        type="jsgl"
      ></base-table>
    </div>

    <div class="pages">
      <el-pagination
        :page-sizes="[10, 20, 30, 40]"
        :page-size="10"
        layout="total, prev, pager, next, sizes, jumper"
        :total="400"
      >
      </el-pagination>
    </div>
  </div>
</template>

<script>
// import MySelect from "@/components/MyInput/MySelect"
import MySearch from "@/components/MyInput/MySearch";
import MyButton from "@/components/MyInput/MyButton";
import BaseTable from "@/components/MyTable/BaseTable";

export default {
  props: ["type"],
  components: {
    // manage,
    // MySelect,
    MySearch,
    MyButton,
    // GongdanTable
    BaseTable,
  },
  data() {
    return {
      title: [
        {
          name: "角色ID",
          prop: "a",
          width: 189,
        },
        {
          name: "角色名称",
          prop: "b",
          width: 189,
        },
        {
          name: "角色人数",
          prop: "c",
          width: 189,
        },
        {
          name: "创建时间",
          prop: "d",
          width: 189,
        },
      ],
      mydata: [
        {
          a: "003",
          b: "客服分组一",
          c: "5",
          d: "2019/09/12 10:99",
        },
        {
          a: "003",
          b: "客服分组一",
          c: "5",
          d: "2019/09/12 10:99",
        },
        {
          a: "003",
          b: "客服分组一",
          c: "5",
          d: "2019/09/12 10:99",
        },
        {
          a: "003",
          b: "客服分组一",
          c: "5",
          d: "2019/09/12 10:99",
        },
        {
          a: "003",
          b: "客服分组一",
          c: "5",
          d: "2019/09/12 10:99",
        },
        {
          a: "003",
          b: "客服分组一",
          c: "5",
          d: "2019/09/12 10:99",
        },
        {
          a: "003",
          b: "客服分组一",
          c: "5",
          d: "2019/09/12 10:99",
        },
        {
          a: "003",
          b: "客服分组一",
          c: "5",
          d: "2019/09/12 10:99",
        },
        {
          a: "003",
          b: "客服分组一",
          c: "5",
          d: "2019/09/12 10:99",
        },
        {
          a: "003",
          b: "客服分组一",
          c: "5",
          d: "2019/09/12 10:99",
        },
      ],
    };
  },
};
</script>

<style>
.actor-manage {
  /* display: flex; */
  width: 1040px;
  height: 770px;
  background-color: #fff;
}
.actor-manage-mark {
  display: flex;
}
.actor-manage-kefu {
  display: flex;
  padding-top: 20px;
  padding-left: 380px;
}
.actor-manage-group {
  padding-top: 20px;
  padding-left: 20px;
}
.actor-manage-message {
  padding-top: 20px;
  padding-left: 20px;
}
.actor-manage-kefu1 {
  padding-right: 10px;
}
.actor-manage-kefu2 {
  padding-right: 10px;
}
.actor-manage-table {
  padding-top: 20px;
  padding-left: 20px;
}
.pages {
  display: flex;
  padding-right: 21px;
}
</style>